using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace HDS.Model.Entity.Sys
{
    /// <summary>
    /// 用户 
    /// </summary>
    [SugarTable("sys_user")]
    public class SysUser
    {

        /// <summary>
        /// 用户id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "user_id")]
        public int UserId { get; set; }

        /// <summary>
        /// 登录Email
        /// </summary>
        [SugarColumn(ColumnName = "user_email")]
        public string UserEmail { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary>
        [SugarColumn(ColumnName = "user_pwd")]
        public string UserPwd { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [SugarColumn(ColumnName = "user_name")]
        public string UserName { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        [SugarColumn(ColumnName = "user_phone")]
        public string UserPhone { get; set; }

        /// <summary>
        /// 用户状态 状态: 0 禁用 1启用
        /// </summary>
        [SugarColumn(ColumnName = "user_status")]
        public bool UserStatus { get; set; } = true;
    }
}
